package org.lds.ers.client;

import java.util.List;

import org.lds.ers.client.model.LoginInfo;
import org.lds.ers.client.model.SysAdminInfo;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("login")
public interface LoginService extends RemoteService {
	LoginInfo login(String requestUri);
	
	SysAdminInfo addAdmin(SysAdminInfo info);
	Boolean removeAdmin(Long id);
	List<SysAdminInfo> getAdmins();
}
